package com.xinsilu.hospital.service.impl;

import com.xinsilu.hospital.entity.DoctorTable;
import com.xinsilu.hospital.mapper.WxControllerMapper;
import com.xinsilu.hospital.service.WxControllerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class WxControllerServiceImpl  implements WxControllerService {
    @Autowired
    private WxControllerMapper wxControllerMapper;
    @Override
    public List<DoctorTable> getDoctor(DoctorTable doctorTable) {
        return wxControllerMapper.getDoctor(doctorTable);
    }

    @Override
    public List<DoctorTable> getidDoctor(DoctorTable doctorTable) {
        return wxControllerMapper.getidDoctor(doctorTable);
    }
}
